import React from "react";
import Singer from "../Singer/Singer";
import { NavLink, Outlet } from "react-router-dom";

export default function YYG() {
  return (
    <>
      <div className="middle-menu">
        <ul>
          <li>
            <NavLink to="/yyg/home">首页</NavLink>
          </li>
          <li>
            <NavLink to="/yyg/singer">歌手</NavLink>
          </li>
        </ul>
      </div>
      <div className="clearfix"></div>
      {/* 内容切换区 */}
      <Outlet />
    </>
  );
}
